package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dto.AdUserDto;
import com.heima.model.admin.pojo.AdUser;
import com.heima.model.common.dtos.ResponseResult;

/**
 * Created by ZYJ on 2021/5/23 21:53
 */
public interface AduserService extends IService<AdUser> {
    /**
     * 用户登录
     * @param adUserDto
     * @return
     */
    ResponseResult login(AdUserDto adUserDto);

    /**
     * 用户注册
     * @param adUser
     * @return
     */
    ResponseResult register(AdUser adUser);
}
